package in.co.codedoc.sql;



public class SubqueryStatement extends QueryStatement
{
	public SubqueryStatement(TableColumn column)
	{
		this(column,null);
	}
	
	public SubqueryStatement(TableColumn column,QueryStatement owner)
	{
		Select(column);
		this.owner = owner;
	}	

	@Override
	public void Invalidate()
	{
		super.Invalidate();
		
		if(owner != null)
		{
			owner.Invalidate();
		}
	}
	
	private QueryStatement owner;
}
